package com.edu.scau.dao;

import java.util.List;

import com.edu.scau.entity.Commodity;
import com.edu.scau.entity.OrderForm;
import com.edu.scau.entity.Sold;

public interface SoldDao {
	public boolean addCommodity(OrderForm orderForm,Commodity commodity,int number);
	public boolean delCommodity(OrderForm orderForm,Commodity commodity);
	public boolean delSold(Sold sold);
	public boolean save(Sold sold);
	public boolean update(Sold sold);
    public List<Sold> queryAll();

}
